<?php $viewer = Agilet::getViewer(); ?>
<div>
	<ul class="menu-mini">
		<li>
			<a href="<?php echo Agilet::getUrl('admin'); ?>">Dashboard</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('admin/product'); ?>">Sản phẩm</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('admin/classified'); ?>">Rao vặt</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('admin/user'); ?>">Thành viên</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('admin/activity'); ?>">Activity</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('admin/content'); ?>">Nội dung</a>
		</li>
		<li>
			<a href="<?php echo Agilet::getUrl('/'); ?>">View Site</a>
		</li>
		<?php if($viewer):
		?>
		<li class="right">
			<a href="<?php echo Agilet::getUrl('dang-xuat'); ?>">Thoát</a>
		</li>
		<li class="right">
		<a href="<?php echo Agilet::getUrl('user/me'); ?>">Xin chào, <?php echo $viewer -> displayname; ?></a>
		</li>
		<?php else: ?>
		<li class="right">
			<a href="<?php echo Agilet::getUrl('dang-ki'); ?>">Đăng kí</a>
		</li>
		<li class="right">
			<a href="<?php echo Agilet::getUrl('dang-nhap'); ?>">Đăng nhập</a>
		</li>
		<?php endif; ?>
	</ul>
	<div class="clear-fix"></div>
</div>